local sub = oop.class(oop.test.Base, oop.test.Base1)

function sub:init(a, b)
	print("sub:init", a, b)
	self.sub_value = 103
	print(self.base_value, self.base1_value, self.sub_value, "test variable from parent")
	self.base_value = -100
	self.var_self = a.."-hehe"
	print(self.var_self, 'sub:init var_self')
	self:call_from_init()
end

function sub:sub_test()
	print("sub_test")
	self:test_for_overwrite()
	self:super("test_for_overwrite", "hh")
	print(self.var, 'var')
	print(self.var_self, 'var_self')
end

function sub:test_for_overwrite()
	print("sub:test_for_overwrite - ok")
end

function sub:call_from_init()
	print("sub:call_from_init")
end

return sub
